projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfd6edc
)
(compute_tip_xy): Initialize root_x and root_y from
author
Jason Rumney
<jasonr@gnu.org>
Sat, 24 Nov 2001 17:48:40 +0000
(17:48 +0000)
committer
Jason Rumney
<jasonr@gnu.org>
Sat, 24 Nov 2001 17:48:40 +0000
(17:48 +0000)
mouse position if either left or top is not specified.
src/xfns.c
patch
|
blob
|
history
diff --git
a/src/xfns.c
b/src/xfns.c
index fe3667c81687cc4c91f5becf0d0295fbfb88843b..dd829dc4cb2e2f605621977bf42355813c46599b 100644
(file)
--- a/
src/xfns.c
+++ b/
src/xfns.c
@@
-11077,7
+11077,7
@@
compute_tip_xy (f, parms, dx, dy, width, height, root_x, root_y)
/* Move the tooltip window where the mouse pointer is. Resize and
show it. */
- if (!INTEGERP (left)
&&
!INTEGERP (top))
+ if (!INTEGERP (left)
||
!INTEGERP (top))
{
BLOCK_INPUT;
XQueryPointer (FRAME_X_DISPLAY (f), FRAME_X_DISPLAY_INFO (f)->root_window,